Skip to content

Conversation

dchien234
Copy link

  • Remove the conditional check {{- if .Values.serviceAccount.enabled }}
  • Always add .spec.template.spec.serviceAccountName, 2 possible values for this:
    • {{- if .Values.serviceAccount.name }} then use this .Values.serviceAccount.name
    • If not defined, we use default (this ServiceAccount is always there)

This is to solve the use case where you have an existing ServiceAccount and want to use that (for e.g. Vault service account to pull secrets), instead of the default. But the conditional check {{- if .Values.serviceAccount.enabled }} will remove that capability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant